/*
public class Test {
    public static void main(String[] args) {
        MyApplication a;
        //a .hello();
       // System.out.println(a.name);
    }
}


class  MyApplication {
    String name;
    public static void hello() {
        System.out.println("hello");
    }
}
*/
//作业1
/*
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        while (scanner.hasNextInt()) {
            int x = scanner.nextInt();
            int y = scanner.nextInt();
            Data data = new Data(x, y);
            System.out.println(data.getX() + data.getY());
        }
    }

}

class Data {

    private int x;
    private int y;

     Data(int x, int y) {  //构造方法的权限
        this.x = x;
        this. y = y;
    }

     int getX() {
        return x;
    }

    int getY() {
        return y;
    }

}*/
//作业二：
/*
public class HasStatic {// 1
    private static int x = 100;// 2
    public static void main(String args[]) {// 3
        HasStatic hsl = new HasStatic();// 4
        hsl.x++;// 5
        HasStatic hs2 = new HasStatic();// 6
        hs2.x++;// 7
        hsl = new HasStatic();// 8
        hsl.x++;// 9
        HasStatic.x--;// 10
        System.out.println(" x=" + x);// 11
    }
}
*/

//作业三：
/*public class Pvf{
    static boolean Paddy;    // 静态成员变量,默认值为false
 public static void main(String args[]){
 System.out.println(Paddy);
 }
}*/
//作业四：

/*
public class Test{
//对于private修饰符修饰的成员变量，在本类的main方法中可以直接被自身实现的对象引用！
private float f=1.0f;


int m=12;

static int n=1;

public static void main(String args[]){

           Test t=new Test();
           Test.n = 10;
           t.f = 3.0f;
    System.out.println(t.f);
}

}
*/


//作业五：
/*
public class Test {
    //静态成员变量与静态变量必须独立地放在类中
         public int aMethod(){
        static int i = 0;
         i++;
      return i;
 }
    public static void main(String args[]){
 Test test = new Test();
 test.aMethod();
 int j = test.aMethod();
 System.out.println(j);
 }
}
*/
/*class Dog{
    private String name;
    private int age;
    public void shout(){
        System.out.println("汪汪......");
    }

    public String getName() {
        return name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public void setName(String name) {
        this.name = name;
    }
}
public class Test {
    public static void main(String[] args) {
        Dog dog1 = new Dog();
     *//*   dog1.name = "小黑";
        dog1.age = 10;*//*
        dog1.setAge(10);
        dog1.setName("张三");
        System.out.println(dog1.getAge());
        System.out.println(dog1.getName());
    }
}*/
/*
class Cat{
    static int a;
      int b ;
      public  void shout1(){
          System.out.println("哈哈");

      }
    public  static void  shout2(){
        System.out.println("哈哈");

    }
    public static void main(String[] args) {
        System.out.println(a);
        shout();
        shout2();
   //     System.out.println(b);
    }
}
*/
/*import java.util.*;

public class Test {
    public static void main(String[] args) {
        int []arr=new int[]{1,2,3,4,5};
        System.out.println(Arrays.toString(arr));




    }
}*/


/*public class Test {
    public static void main(String[] args) {
        Cat cat = new Cat();
        cat.age =10;
        cat.shout();
    }
}*/
import com.bite.www.Cat;
public class Test {
    public static void main(String[] args) {
        Cat cat1 = new Cat();
        cat1.shout();
    }
}






